package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.PersonneldisappearalarmDao;
import io.renren.entity.Personneldisappearalarm;
import io.renren.service.PersonneldisappearalarmService;



@Service("personneldisappearalarmService")
public class PersonneldisappearalarmServiceImpl implements PersonneldisappearalarmService {
	@Autowired
	private PersonneldisappearalarmDao personneldisappearalarmDao;
	
	@Override
	public Personneldisappearalarm queryObject(Integer id){
		return personneldisappearalarmDao.queryObject(id);
	}
	
	@Override
	public List<Personneldisappearalarm> queryList(Map<String, Object> map){
		return personneldisappearalarmDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return personneldisappearalarmDao.queryTotal(map);
	}
	
	@Override
	public void save(Personneldisappearalarm personneldisappearalarm){
		personneldisappearalarmDao.save(personneldisappearalarm);
	}
	
	@Override
	public void update(Personneldisappearalarm personneldisappearalarm){
		personneldisappearalarmDao.update(personneldisappearalarm);
	}
	
	@Override
	public void delete(Integer id){
		personneldisappearalarmDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		personneldisappearalarmDao.deleteBatch(ids);
	}
	
}
